← Back
Editing: bug72928.phpt
--TEST-- Phar: #72928 (Out of bound when verify signature of zip phar in phar_parse_zipfile) --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php chdir(__DIR__); try { $phar = new PharData('bug72928.zip'); var_dump($phar); } catch(UnexpectedValueException $e) { print $e->getMessage()."\n"; } ?> DONE --EXPECTF-- phar error: signature cannot be read in zip-based phar "%sbug72928.zip" DONE
Save File
Cancel